package com.dong.pointandviewpager.sample.factory

import com.dong.pointandviewpager.sample.config.UrlConfig.paths
import com.dong.pointandviewpager.sample.model.ModelBean

/**
 * Created by Dong on 2018/3/20.
 */
object DataFactory {

     fun newDataBeans(): MutableList<ModelBean> {
        val urlBeans: MutableList<ModelBean> = mutableListOf()
        for (path in paths) {
            urlBeans.add(ModelBean(path))
        }
        return urlBeans
    }
}